//
// See the file COPYING for redistribution information.
//

#include <iostream>
#include <fstream>
#include <Naipax.hpp>

using namespace std;
using namespace Naipax;

int main() {
    cerr << "Test for the Config module" << endl;

    try {
        Config Conf;
        Conf.ParseFile("Config.conf.txt");
        string ConfStr;
        Conf.Dump(ConfStr);
        cout << endl << ConfStr << endl;
    }
    catch (Naipax::Error &E) {
        NAIPAX_PERROR(E.What());
        return -1;
    }

    return 0;
}
